#include <iostream>

class A{
  private:
    int a;
    char sex;
  public:
  explicit A(){}
  void Print()const
  {
    std::cout << "a : " << a << " sex: " << std::endl;
  }
};

class B{
  private:
    A ca;
    int x;
    char op;
  public:
    B(){}
    void Print()const
    {
      ca.Print();
      std::cout << "x: " << x << " op: " << op << std::endl;
    }
};

void Test()
{
  B b;
  b.B();
  b.Print(); 
}

int main()
{
  Test();
  return 0;
}
